package com.Eastiy.EXO.Menu;

import android.content.Context;
import android.view.View;
import android.widget.PopupWindow;
import com.Eastiy.EXO.Load;
import com.Eastiy.EXO.View.ASUI;
import com.Eastiy.EXO.View.NewMoveCB;

/* renamed from: com.Eastiy.EXO.Menu.x */
public class C0006x {
    public static Context context;
    public static boolean fba = false;
    public static PopupWindow xcdv;

    /* renamed from: H */
    private static int m30H() {
        return context.getResources().getDisplayMetrics().heightPixels;
    }

    /* renamed from: W */
    private static int m31W() {
        return context.getResources().getDisplayMetrics().widthPixels;
    }

    public static void dis() {
        xcdv.dismiss();
    }

    public static void show(Context context2) {
        context = context2;
        xcdv = new NewMoveCB().NewMoveCB(context2, "虚", fba, new Object[]{new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                if (!C0006x.fba) {
                    C0006x.fba = true;
                    Load.antivoid(1);
                    ASUI.hint(C0006x.context, "已开启虚空回弹");
                    return;
                }
                C0006x.fba = false;
                Load.antivoid(0);
                ASUI.hint(C0006x.context, "已关闭虚空回弹");
            }
        }, new Boolean(false)}, 0, 0);
    }
}
